package com.sbtr.business.classify.dto;

import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.sbtr.common.PageParams;
import io.swagger.annotations.ApiModel;


/**
 * 轻量化算法模板(高质量芯片项目) 实体类
 *
 * @author maojianping
 * @since 2023-04-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="AlgoTemplateDto对象")
public class AlgoTemplateDto extends PageParams {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "算法名称")
    private String algoname;

    @ApiModelProperty(value = "算法语言（数据字典选择）")
    private String language;

    @ApiModelProperty(value = "算法用途")
    private String purpose;

    @ApiModelProperty(value = "算法文件名称（算法可修改的参数定义文件）")
    private String filename;

    @ApiModelProperty(value = "算法文件别名")
    private String fileaslias;

    @ApiModelProperty(value = "算法附件存储目录")
    private String bucketDir;

    // 暂时不使用-----start----------
    @ApiModelProperty(value = "算法压缩包文件名称")
    private String packagename;

    @ApiModelProperty(value = "算法压缩包文件别名")
    private String packageaslias;

    @ApiModelProperty(value = "算法压缩包文件存储路径")
    private String packageurl;
    // 暂时不使用-----end----------

    @ApiModelProperty(value = "创建人")
    private String creater;

    @ApiModelProperty(value = "算法状态（信息填写、文件上传、参数添加、完成）")
    private String status;

    @ApiModelProperty(value = "算法模板文件总下载次数")
    private Integer counts;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")// 后台传数据到前台
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") //前台传数据到后台
    private Date createTime;

    @ApiModelProperty(value = "所属项目iteminfo表ID")
    private Long iteminfoId;

}
